#ifndef GENERICWID_H
#define GENERICWID_H

#include <QGraphicsPixmapItem>
#include <QApplication>
#include <qdebug.h>
#include <QPixmap>
#include <QGraphicsSceneMouseEvent>

class genericWid : public QObject, public QGraphicsPixmapItem
{
    Q_OBJECT
public:
    genericWid(QString pixPath);

private:
    QPixmap * pix;
    void mousePressEvent(QGraphicsSceneMouseEvent * event);

signals:
    void clicked();
    void clickedX1Half();
    void clickedX2Half();
    void clickedY1Half();
    void clickedY2Half();
    void clicked1Quarter();
    void clicked2Quarter();
    void clicked3Quarter();
    void clicked4Quarter();
};

#endif // GENERICWID_H
